package vip.xiaonuo.facedoor.vo.haiqing;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class HQAddPersonRequest {

  @JSONField(name = "operator")
  private String operator="AddPerson";
  @JSONField(name = "info")
  private InfoDTO info;
  @JSONField(name = "picURI")
  private String picUri;

  @NoArgsConstructor
  @Data
  public static class InfoDTO {
	@JSONField(name = "DeviceID")
	private Integer deviceID;
	@JSONField(name = "IdType")
	private Integer idType=0;
	@JSONField(name = "CustomizeID")
	private Integer customizeID;
	@JSONField(name = "PersonType")
	private Integer personType;
	@JSONField(name = "Name")
	private String name;
	@JSONField(name = "Gender")
	private Integer gender;
	@JSONField(name = "Nation")
	private Integer nation;
	@JSONField(name = "CardType")
	private Integer cardType=0;
	@JSONField(name = "IdCard")
	private String idCard;
	@JSONField(name = "Birthday")
	private String birthday;
	@JSONField(name = "Telnum")
	private String telnum;
	@JSONField(name = "Native")
	private String nativeX;
	@JSONField(name = "Address")
	private String address;
	@JSONField(name = "Notes")
	private String notes;


	@JSONField(name = "MjCardFrom")
	private Integer mjCardFrom;
	@JSONField(name = "WiegandType")
	private Integer wiegandType;
	@JSONField(name = "WGFacilityCode")
	private Integer wgFacilityCode;
	@JSONField(name = "MjCardNo")
	private String mjCardNo;
	@JSONField(name = "CardMode")
	private Integer cardMode;

	@JSONField(name = "RFCardMode")
	private Integer rFCardMode;
	@JSONField(name = "RFIDCard")
	private String RFIDCard;

	@JSONField(name = "Tempvalid")
	private Integer tempvalid;
	@JSONField(name = "ValidBegin")
	private String validBegin;
	@JSONField(name = "ValidEnd")
	private String validEnd;
	@JSONField(name = "isCheckSimilarity")
	private Integer isCheckSimilarity;
  }

}
